package consts

const (
	// 订单关闭原因 1-超时未支付 2-退款关闭 3-买家取消
	OrderCloseTypeTimeOut = "超时取消"
	OrderCloseTypeRefund  = "退款关闭"
	OrderCloseTypeCancel  = "买家取消"

	// 订单删除状态 0未删除 1回收站 2永久删除
	OrderDeleteStatusNo      = 0
	OrderDeleteStatusRecycle = 1
	OrderDeleteStatusDeleted = 2

	// 首页轮播图状态: 2下架 1上架
	SwiperStatusUp   = 1
	SwiperStatusDown = 0

	// 分组状态，1 正常，-1 删除
	TagStatusUp     = 1
	TagStatusDelete = -1

	// 学生在班级的在读状态
	// 班级状态:0已删除,1在读,2毕业
	ClassStatusDelete   = 0
	ClassStatusOnStudy  = 1
	ClassStatusGraduate = 2

	// 学校状态:-1已删除,1正常,2锁定
	SchoolStatusDelete = -1
	SchoolStatusNormal = 1
	SchoolStatusLocked = 2

	// 订单状态:1待支付,2支付成功,3超时取消
	OrderPayStatusWaitPay    = 1
	OrderPayStatusPaySuccess = 2
	OrderPayStatusCancel     = 3

	// 报名状态:-1已删除0草稿1在读状态2退课中3已退课4已转班
	OrderSignupStatusDeleted   = -1
	OrderSignupStatusNull      = 0
	OrderSignupStatusInStudy   = 1
	OrderSignupStatusRefunding = 2
	OrderSignupStatusRefunded  = 3
	OrderSignupStatusTransfer  = 4

	// 支付方式:undefined未确定,zero零元支付,icbc工行聚富通,citic中信全付通
	OrderPayMethodNull  = "undefined"
	OrderPayMethodZero  = "zero"
	OrderPayMethodIcbc  = "icbc"
	OrderPayMethodCitic = "citic"

	// 销售状态 0已删除 1上架 2下架
	ArrangeSaleStatusDelete = 0
	ArrangeSaleStatusUp     = 1
	ArrangeSaleStatusDown   = 2

	// 是否购买材料1已购买2未购买
	OrderIsBuyBooksYes = 1
	OrderIsBuyBooksNo  = 2

	// 是否有材料费1是2否
	ArrangeHadBooksYes = 1
	ArrangeHadBooksNo  = 2

	// 材料费是否必须购买1必须购买2自愿购买
	ArrangeBooksMustBuyMust = 1
	ArrangeBooksMustBuyFree = 2

	// 售后状态:1退款成功,2审核通过(待退款),3退款中,4待审核(一审),5待审核(二审),6审核拒绝,7退款失败,8已取消
	RefundAuditStatusWait1     = 4
	RefundAuditStatusWait2     = 5
	RefundAuditStatusApproved  = 2
	RefundAuditStatusRejected  = 6
	RefundAuditStatusCancel    = 8
	RefundAuditStatusRefunding = 3
	RefundAuditStatusDone      = 1
	RefundAuditStatusFail      = 7

	// 退款类型:1退课&退款,2仅退款
	RefundTypeRefundClass = 1
	RefundTypeRefundMoney = 2

	// 收费模式:1先付费,2后付费
	ArrangePayModeBefore = 1
	ArrangePayModeAfter  = 2

	// 开班状态:0已删除,1待开班,2已开课,3不开班
	StartStatusDelete = 0
	StartStatusWait   = 1
	StartStatusOn     = 2
	StartStatusOff    = 3

	// 小节课状态:1未开始2已结束3已停课
	OutlineStatusWait = 1
	OutlineStatusDone = 2
	OutlineStatusStop = 3

	// 到课状态：0未签到 1正常 2迟到
	SignupStatusNo     = 0
	SignupStatusNormal = 1
	SignupStatusLate   = 2

	// 点名状态：1准时到 2迟到 3请假 4旷课 5未考勤
	ArrivalStatusNormal = 1
	ArrivalStatusLate   = 2
	ArrivalStatusLeave  = 3
	ArrivalStatusAbsent = 4
	ArrivalStatusNo     = 5

	// 请假类型：1事假 2公假 3病假
	LeaveTypePrivate = 1
	LeaveTypePublic  = 2
	LeaveTypeSick    = 3

	// 请假审核状态：1待审核 2审核通过 3审核拒绝
	StudentLeaveAuditStatusPending  = 1
	StudentLeaveAuditStatusApproved = 2
	StudentLeaveAuditStatusRejected = 3

	// 中信对账单状态：1 生成中，2 已完成，3 失败
	CiticbankBillStatusPending = 1
	CiticbankBillStatusDone    = 2
	CiticbankBillStatusFail    = 3

	// 校历类型，1 放假，2 补课
	ClassCalendarTypeVacation = 1
	ClassCalendarTypeMakeUp   = 2

	// 学生状态:-1已删除,1在读,2毕业
	StudentStatusDelete   = -1
	StudentStatusOn       = 1
	StudentStatusGraduate = 2
)
